package com.gaokao.demo.service;

import com.gaokao.demo.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gaokao.demo.entity.SysUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author szs
 * @since 2021-01-22
 */
public interface IRoleService extends IService<SysRole> {
    /**
     * 清空user中的roleList
     * @param sysUser
     * @return
     */
    Integer deleteRoles(SysUser sysUser);

    Integer insertRoles(SysUser sysUser);

}
